/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dale2507.gates.events;

import dale2507.gates.gate.Gate;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

/**
 *
 * @author Dale
 */
public class ChevronDialledEvent extends Event {
    
    private static final HandlerList handlers = new HandlerList();
    
    private Gate gate;
    private int chevron;
    
    public ChevronDialledEvent(Gate gate, int chevron) {
        this.gate = gate;
        this.chevron = chevron;
    }
 
    @Override
    public HandlerList getHandlers() {
        return handlers;
    }
    
    public static HandlerList getHandlerList() {
        return handlers;
    }

    public int getChevron() {
        return chevron;
    }

    public Gate getGate() {
        return gate;
    }
    
}
